home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
mac
/
ZIPPED
/
DOS
/
PRINTERS
/
TINY20.ZIP
/
TINY.DOC
next >
Wrap
Text File
|
1992-01-09
|
9KB
|
242 lines
******************************* TINY 2.0 ********************************
Copyright (C) 1992 by Dr. S. Flitman
PROGRAM SUMMARY:
Tiny is a program which will print multiple files in a smaller yet
still readable type on Epson and IBM Graphics printers. Using 132 column
paper and a wide-carriage Epson printer, up to six pages of text can fit
on a single page of paper, a saving of over 83%! Other modes include two
columns for four filepages per page of paper (available on a standard
carriage Epson and wide carriage IBM) and the default single column mode,
which fits two filepages into one standard width page. No matter which
mode is used, Tiny will significantly reduce your paper consumption and
thus contribute to protecting our vanishing forests.
COMPATIBILITY:
Tiny should work on any IBM PC with DOS 2.0 or higher. It has
only been tested with DOS 3.3 and a vast menagerie of TSRs, but it is
likely not to crash on older systems. Please address any problems to the
author listed below; he will be sure to add a fix to the next version of
Tiny.
USAGE:
tiny [-option ...] filespec ...
Options must begin with a dash '-' and precede all filespecs. Two
styles of options are permitted for those options which are single letters
(take no arguments): "-xy" or "-x -y" Either will be properly interpreted.
Option letters may be uppercase or lowercase.
Each option is treated separately below:
-2 Two Columns
Print all files in two columns. This can be accomplished on
an Epson with only an 80 column standard carriage with, or on
an IBM with 132 column wide carriage, which requires the -w
switch as well. Note that only 80 column long lines are
permitted in the file to be printed (longer lines will be
wrapped in the printed column); however, if printed with -w
on a wide-carriage Epson printer, 132 column lines will be
printed properly in two columns. Note that the columns are
done newspaper style; ie, pages 1 and 2 of a file are in
the left column and pages 3 and 4 are in the right column,
continuing with the left column on the next hardcopy page.
-3 Three Columns
Print all files in three columns. This can be done only on
a wide-carriage Epson, so the -w switch must also be given
to convince Tiny that you have a wide carriage. In this mode
six pages of a file will appear on one page of hardcopy, also
in newspaper style (see above).
-b Bar
Prints a bar (line) between all pages on a hardcopy page.
This applies to all modes, single column, two column, and
three column.
-i IBM Mode
Tells Tiny to emit printer codes specific for printers
compatible with the IBM Graphics Printer. This leaves out
the NLQ headers (-o) and the tiny compressed elite type; in
this mode two column output cannot be achieved on an 80
column standard width carriage.
-n[##] Number Lines
Tiny will preface each line of a file with its decimal line
number, followed by a colon. The number will always take
up four spaces, right-justified with spaces. In the event
a file has more than 9,999 lines, the counter will turn over.
It starts at 1 unless an optional decimal number ## follows
-n without any intervening spaces. This switch should stand
alone at the end of an option cluster.
-o Old Epson Mode (No NLQ Headers)
Tells Tiny to use pica type for the header lines, even when
in Epson mode. For use with older Epson printers (FX-80,
etc.) which do not support NLQ mode.
-p<out> Redirect Output
Redirects output to a file or device <out>, written directly
after the -p without any intervening spaces. The default
output is to PRN:, which may have previously been directed
to something other than LPT1: by using DOS's MODE command.
One good use for this is to swiftly Tiny output to a file
on a ramdisk for subsequent spooling out to the printer by
DOS's PRINT program. This switch cannot have other switches
following it as part of the same cluster (they may precede),
so "-b2pd:out" is OK but not "-bpd:out2", because the 2 can't
be dissociated from the filename.
-t## Set Tabs
The ## following the -t without any intervening spaces must
be decimal and in the range 1-20. This will set tab stops
every ## columns, and so permit proper expansion of tab char-
acters in the files. It will apply to printout for all the
files on the line. Occasionally it may produce output which
is not indented the same as when the document was displayed
or printed by your text editor or word processor; this may be
due to use of a different tab setting or different tab algor-
ithm. If so, replace tabs with spaces so as to maintain the
appropriate indentation. The default tab expansion is 8.
This switch can have other switches preceding it in an option
cluster, but switches following the number without a dash are
lost.
-w Wide
Tells Tiny that output is intended for a 132 column (wide
carriage) printer. Required in combination with -3 or -2
and -i (two column printout to IBM). This redundancy is
useful for reducing erroneous hardcopy.
Filespecs (file specifications) are DOS filenames or paths, which
can specify drive letters and can also specify wildcards in the
terminal portion of the path (the filename.ext part). They may be
preceded by a special prefix enclosed in braces:
{##[-##]}filespec
Note that this prefix must not have any intervening spaces between
it and the filespec. Enclosed within the braces can be either one
decimal number or a range of two decimal numbers, separated by a dash.
This indicates which pages of a file to print. If only one number
is given, it indicates the page number to begin printing with. If
a second number is given, it indicates the page number to end print-
ing with. Thus, a range is inclusive; both the beginning and ending
pages will be printed. The page count is Tiny's, not the file's.
This may require printing first to a file for preview to isolate
the parts that ought to be printed. Otherwise, Tiny's pagination
can be calculated by simple division. If a filespec containing
wildcards matches more than one file, the prefix and its restricted
paging will apply to all of them. The prefix applies only to the
filespec that follows, however.
EXAMPLES:
Display options:
C:\> tiny
Print foobar.doc in two columns, with bars (Epson, standard carriage):
C:\WP> tiny -b2 foobar.doc
As above, but print it to a file called "spool" on D: instead of PRN:
C:\WP> tiny -b2 -pd:\spool foobar.doc
As above, but print it for a wider carriage printer (but for now in a
file on D:, in preparation for spooling):
C:\WP> tiny -b2 -w -pd:\spool foobar.doc
Print all .ASM files and all .INC files to Epson, standard carriage, in
two columns without bars:
C:\386> tiny -2 *.asm *.inc
Print all .C files to an IBM, in two columns with bars (must be wide
carriage):
C:\MSC> tiny -ib2w *.c
As above, but set tabstops to every 5 columns:
C:\MSC> tiny -ib2w -t5 *.c
Print pages 6 to the end of a printout that got terminated prematurely:
(Single column, Epson, without bars, standard carriage, to printer)
C:\UTL> tiny {6}prevrun.lp
As above, but only pages 4 through 10:
C:\WP> tiny {4-10}prevrun.lp
For some strange reason, print only pages 1-3 of all files matching the
pattern AX???.* (and do it on an old, wide Epson with line numbers
starting with 1000 and in three columns with bars):
C:\WEIRD> tiny -o -n1000 -3b {1-3}ax???.*
DISCLAIMER:
I, S. Flitman, M.D. cannot be held liable for any damages, public
or private, resulting from the use of this program. It has very little
potential for causing such damage, as it has been rigorously tested in
several environments, and in no case has anything untoward occurred.
REGISTRATION AND LICENSING:
Tiny is not in the public domain. You are granted permission by
the copyright holder Dr. S. Flitman to evaluate this copy of Tiny for
usefulness in your work or home setting, for thirty days. You are welcome
and encouraged to make as many copies as you wish and to distribute this
package widely, so long as the contents of the original .ZIP file are
maintained. Once thirty days have elapsed, please register your copy with
the author. This costs only $10 (US) and represents payment for a license
for the perpetual use of this program by you for one installation. Please
write for prices on multiple installations. Your registration entitles you
to receive free updates on disk as they come out. Send your check or money
order and your address to:
Dr. S. Flitman
Suite 401
222 W Thomas Rd
Phoenix, AZ 85013
For an additional $10, Turbo C 2.0 source code will be sent to you on your
choice of paper, 5-1/4" disk, or 3-1/2" disk. Your money goes to support
the author and his work on more exciting utilities as well as an ongoing
(and very time-consuming!) project in artificial intelligence.
Thank you for using Tiny!